from config.server_config import ServerConfig

import uvicorn

if __name__ == "__main__":
    server_config = ServerConfig()

    uvicorn.run(
        server_config.app_name,
        host=server_config.host,
        port=server_config.port,
        workers=server_config.workers,
        log_level=server_config.log_level
    )
